package com.datang.pet.mapper;

import com.datang.pet.pojo.UserAttentionRecord;
import com.datang.pet.pojo.UserAttentionRecordExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserAttentionRecordMapper {
    long countByExample(UserAttentionRecordExample example);

    int deleteByExample(UserAttentionRecordExample example);

    int deleteByPrimaryKey(String id);

    int insert(UserAttentionRecord record);

    int insertSelective(UserAttentionRecord record);

    List<UserAttentionRecord> selectByExample(UserAttentionRecordExample example);

    UserAttentionRecord selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") UserAttentionRecord record, @Param("example") UserAttentionRecordExample example);

    int updateByExample(@Param("record") UserAttentionRecord record, @Param("example") UserAttentionRecordExample example);

    int updateByPrimaryKeySelective(UserAttentionRecord record);

    int updateByPrimaryKey(UserAttentionRecord record);
}